package com.ruoyi.iot.service;

import com.ruoyi.iot.domain.DeviceDataRequest;
import com.ruoyi.iot.domain.FacDeviceBasic;
import com.ruoyi.iot.domain.FacDevicesMonitor;
import com.ruoyi.iot.domain.FacDevicesRundata;
import com.ruoyi.iot.domain.data.FieldRunData;

import java.util.List;

public interface IFacDevicesDataService {
    /**
     * 获取运行数据
     */
    void syncLastData();

    /**河南-获取土壤气象数据**/
    void syncSoilWLastData(DeviceDataRequest deviceDataRequest);
    /**陕西点将科技-获取土壤气象数据**/
    void  syncGetToken(DeviceDataRequest deviceDataRequest);
    /**南土所-获取土壤传感器数据**/
    void  syncGetNTSLastData(DeviceDataRequest deviceDataRequest);
    void syncHttpLastData(DeviceDataRequest deviceDataRequest);
    void saveDataByList(FacDeviceBasic device, FacDevicesMonitor monitorVo, FacDevicesRundata rundata, List<FieldRunData> list);

}
